<?

$name = 'Application';

$thead = array('Id','Application','Time (Minutes)');
$tsize = array('10%','60%', '30%');
$talign = array('center','left', 'center');
$twidth = '500';

$rlabel = 1;
$rdata = 2;
$rid = 0;

$sql = 'SELECT p.id, p.name, SUM(seconds) / 60 as stotal FROM wp_track w, processes p WHERE p.id = w.idp GROUP BY p.id ORDER BY stotal DESC LIMIT 10';



?>